package com.stylefeng.guns.modular.customer.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.stylefeng.guns.modular.customer.transfer.PurchaseXlsM;
import com.stylefeng.guns.modular.system.model.Purchase;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 采购配套 服务类
 * </p>
 *
 * @author yinjc123
 * @since 2018-04-03
 */
public interface IPurchaseService extends IService<Purchase> {

    List<Map<String, Object>> selectPurchasePage(Page<Purchase> page, Integer customerCompanyId, String customerCompanyName);

    void insertXlsListPurchase(List<PurchaseXlsM> xlsMList);

    void deleteByCustomerCompanyId(Integer customerCompanyId);
}
